package cn.edu.neusoft.wuguangsheng.flowerimpression.model;

import cn.edu.neusoft.wuguangsheng.flowerimpression.bean.SuccessBean;
import cn.edu.neusoft.wuguangsheng.flowerimpression.iface.RemoveCollectionFKnowIface;
import cn.edu.neusoft.wuguangsheng.flowerimpression.listener.TListener;
import cn.edu.neusoft.wuguangsheng.flowerimpression.service.AllService;
import retrofit2.Call;
import retrofit2.Retrofit;

public class RemoveCollectionFKnow extends RetrofitBaseModel implements RemoveCollectionFKnowIface<SuccessBean> {
    private AllService allService;
    private Retrofit retrofit;
    public RemoveCollectionFKnow(){
        retrofit=getRetrofit();
        allService=getAllService();
    }

    @Override
    public void removeCollectionFKnow(String fknowid,String userid, TListener<SuccessBean> tListener) {
        Call<SuccessBean> call = allService.removeCollectionFKnow(fknowid,userid);
        callenqueue(call,tListener);
    }
}
